﻿using DFGK_WMS.Model.Models.BBS;
using DFGK_WMS.Model.Models.LyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.LY
{
    public interface IPurchaseStandardService
    {
        List<PurchaseStandard> GetPurchaseStandardPageData(string? name,out int totalCount, int pageIndex = 1, int pageSize = 20);
        bool PurchaseStandardData(PurchaseStandard model, out string errorMsg);
        PurchaseStandard? GetPurchaseStandard(long purchaseStandardId);
        bool DelPurchaseStandard(long purchaseStandardId);

        bool AddPurchase(List<PurchaseStandard> list);

        List<PurchaseStandard> GetPurchaseStandardPageDown();
    }
}
